package cn.mengflu.zuul.util;

/**
 * @author Mengfly
 * @date 2021/3/17 22:10
 */
public class FilterUtils {

    /**
     * Standard types in Zuul are "pre" for pre-routing filtering
     */
    public static final String PRE_FILTER_TYPE = "pre";

    /**
     * "route" for routing to an origin
     */
    public static final String ROUTE_FILTER_TYPE = "route";

    /**
     * "post" for post-routing filters
     */
    public static final String POST_ROUTE_TYPE = "post";

    /**
     * "error" for error handling.
     */
    public static final String ERROR_FILTER_TYPE = "error";

    /**
     * We also support a "static" type for static responses see  StaticResponseFilter
     */
    public static final String STATIC_FILTER_TYPE = "static";
}
